package com.heartunderblade.rpc;

import com.heartunderblade.rpc.factory.ServiceProxyFactory;
import com.heartunderblade.rpc.service.UserService;

public class CoreConsumerMockSample {
    public static void main(String[] args) {
        // 动态代理模式
        UserService userService = ServiceProxyFactory.getProxy(UserService.class);
        // 调用
        int  mockTestString = userService.getMockTestString();
        System.out.println(mockTestString);

    }
}
